ELF unexec: align section header
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 17 Nov 2015 01:48:08 +0000 (17:48 -0800)
committerRob Browning <rlb@defaultvalue.org>
Mon, 18 Jan 2016 23:49:07 +0000 (17:49 -0600)
commit0de7316751e94c29aeb4b75731ac6e8c9eba77e6
treefbadba58bdd45e804fafa3164e625296878d611d
parent9b52726df50cc9b4fdfce2ed1dc114311dc60a93
ELF unexec: align section header

Emacs should build on ppc64el.  A problem with the bss has been fixed.

This upstream patch has been added [10/10]:

  ELF unexec: align section header

  This ports the recent unexelf.c changes to Fedora x86-64
  when configured with GCC’s -fsanitize=undefined option.
  * src/unexelf.c (unexec): Align new_data2_size to a multiple
  of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
  pointer aligned appropriately for its type.

Origin: upstream, commit: c9fd597a4cffcae873b25381ee8cc755f0debe95
Bug: http://debbugs.gnu.org/20614
Bug-Debian: http://bugs.debian.org/808347
Added-by: Rob Browning <rlb@defaultvalue.org>
src/unexelf.c